#include<iostream>
using namespace std;
int exam4_8()
{
	int i, a = 0, b = 1, c;
	cout << a << "  " << b<<"  ";
	for (i = 3; i <= 40; i++)
	{
		c = a + b;
		cout << c << "  ";
		if (i % 10 == 0)
		{
			cout << endl;
		}
		a = b; b = c;
	}
	return 0;
}